package top.ly61.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author suk_mit
 * @since 2022-01-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Student对象", description="")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "学生姓名")
    private String name;

    @ApiModelProperty(value = "学生身份密码")
    private String password;

    @ApiModelProperty(value = "学生性别")
    private String sex;

    @ApiModelProperty(value = "学生电话号")
    private String phone;

    @ApiModelProperty(value = "学生职务")
    private String office;

    @ApiModelProperty(value = "学号")
    @TableField("studentID")
    private String studentid;

    @ApiModelProperty(value = "专业班级")
    private String classroom;

    @ApiModelProperty(value = "院系")
    private String faculties;

    @ApiModelProperty(value = "导员")
    private Teacher teacher;

    @ApiModelProperty(value = "宿管")
    private Tubes tubes;

    @ApiModelProperty(value = "宿舍")
    private Dormitorys dormitorys;

}
